Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cell colors in location view #6246

Merged

Conversation

rablador
Copy link
Contributor

@rablador rablador commented May 13, 2024

When we added custom lists we also added a title list item (All locations) which made the countries/cities/servers in the location view move down one step in the hierarchy. So we had to add a new color (Blue10%). This PR updates all related colors to their correct values.


This change is Reviewable

@rablador rablador requested review from buggmagnet and mojganii May 13, 2024 08:11
Copy link

linear bot commented May 13, 2024

Copy link
Contributor Author

@rablador rablador left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 3 files reviewed, 2 unresolved discussions


ios/MullvadVPN/View controllers/SelectLocation/LocationCell.swift line 137 at r1 (raw file):

        backgroundView = UIView()
        backgroundView?.backgroundColor = UIColor.Cell.Background.normal

Opportunistic cleanup not really related to PR.


ios/MullvadVPN/View controllers/SelectLocation/LocationSectionHeaderView.swift line 69 at r1 (raw file):

        actionButton.isHidden = isActionHidden
        actionButton.accessibilityIdentifier = nil
        actualConfiguration.primaryAction.flatMap { [weak self] action in

Opportunistic cleanup not related to PR.

@rablador rablador added the iOS Issues related to iOS label May 13, 2024
Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions

@buggmagnet buggmagnet force-pushed the countrycustom-list-color-in-select-location-ios-677 branch from b8c6108 to d382e99 Compare May 16, 2024 12:33
@buggmagnet buggmagnet merged commit 5ae06f2 into main May 16, 2024
6 of 7 checks passed
@buggmagnet buggmagnet deleted the countrycustom-list-color-in-select-location-ios-677 branch May 16, 2024 12:33
Copy link

🚨 End to end tests failed. Please check the failed workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants